import 'package:bruno/bruno.dart';
import 'package:get/get_state_manager/src/simple/get_controllers.dart';

class MineController extends GetxController {
  var mineTopMenus = [];
  var mineDetailMenus = [];
  @override
  void onInit() {
    // TODO: implement onInit
    mineTopMenus = [
      {'name': '我的圈子', 'iconData': 58928, 'route': '/mine'},
      {'name': '我的单车', 'iconData': 58970, 'route': '/mine'},
      {'name': '历史路线', 'iconData': 59465, 'route': '/mine'},
      {'name': '互动', 'iconData': 58958, 'route': '/mine'}
    ];
    mineDetailMenus = [
      {'name': '个人信息', 'route': '/mine'},
      {'name': '我的消息', 'route': '/mine'},
      {'name': '优惠卷', 'route': '/mine'},
      {'name': '我的订单', 'route': '/mine'},
    ];
    super.onInit();
  }

  void onSettingClickListener(context) {
    BrnToast.show("点击了设置", context);
  }
}
